Reverting the Effects of XQuery Update Expressions

نویسندگان

  • Federico Cavalieri
  • Giovanna Guerrini
  • Marco Mesiti
چکیده

The need of reverting the effects of updates on the affected documents arises in many contexts, ranging from undos in transactional applications to versioning systems. In this paper, we investigate this issue for XQuery Update expressions, relying on the Pending Update List (PUL) obtained from the evaluation of an expression on a document. Specifically, we introduce an inversion operator, that, given a PUL to be applied on a document, allows to determine a corresponding inverted PUL that, applied on the modified document, produces the original document. Moreover, an alternative approach for enriching a PUL with additional information, so that it can be inversely applied, is proposed and the two approaches are experimentally compared.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Commutativity Analysis in XML Update Languages

A common approach to XML updates is to extend XQuery with update operations. This approach results in very expressive languages which are convenient for users but are difficult to reason about. Deciding whether two expressions can commute has numerous applications from view maintenance to rewriting-based optimizations. Unfortunately, commutativity is undecidable in most recent XML update langua...

متن کامل

Update XML Data by Using Graphical Languages

To be a full-featured data exchange format, XML should support not only queries but also updates on its contents. The new W3C XML update facility has proposed a set of operators (insert, delete, replace and rename) and expressions to modify XML data. However, the new update standard is an extension of XPath/XQuery. As a result, it requires the full knowledge about complex XPath/XQuery writing t...

متن کامل

Supporting SPARQL Update Queries in RDF-XML Integration

The Web of Data encourages organizations and companies to publish their data according to the Linked Data practices and offer SPARQL endpoints. On the other hand, the dominant standard for information exchange is XML. The SPARQL2XQuery Framework focuses on the automatic translation of SPARQL queries in XQuery expressions in order to access XML data across the Web. In this paper, we outline our ...

متن کامل

Incremental Maintenance of Materialized XML Views

We investigate the problem of incremental maintenance of materialized XML views. We are considering the case where the underlying database is a relational database and the view exposed to querying is a materialized XML view. Then, updates to the underlying database should be reflected to the stored XML view, to keep it consistent with the source data, without recreating the entire view from the...

متن کامل

Adding Updates to XQuery: Semantics, Optimization, and Static Analysis

Bell Laboratories Lucent Technologies benedikt,vyas @research.bell-labs.com Icar CNR Via P. Bucci 41C, 87036 Rende, Italy [email protected] D.E.I.S., University of Calabria Via P. Bucci 41C, 87036 Rende, Italy [email protected] The need to extend XQuery to support updates has been recognized both in the research and the standards community. Several language proposals and prototype implem...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011